package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: app_device_freeze
 * @Author: jeecg-boot
 * @Date: 2025-05-31
 * @Version: V1.0
 */
@Data
@TableName("app_device_freeze")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "app_device_freeze对象", description = "app_device_freeze")
public class AppDeviceFreeze implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 设备ID
     */
    @Excel(name = "设备ID", width = 15)
    @ApiModelProperty(value = "设备ID")
    private String deviceId;
    /**
     * android
     */
    @Excel(name = "android", width = 15)
    @ApiModelProperty(value = "android")
    private String androidId;
    /**
     * 冻结类型，临时冻结，永久冻结
     */
    @Excel(name = "冻结类型，临时冻结，永久冻结", width = 15)
    @ApiModelProperty(value = "冻结类型，临时冻结，永久冻结")
    private String freezeType;
    /**
     * 临时冻结结束日期
     */
    @Excel(name = "临时冻结结束日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "临时冻结结束日期")
    private Date enddate;
    /**
     * 临时冻结开始时间
     */
    @Excel(name = "临时冻结开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "临时冻结开始时间")
    private Date startdate;
    /**
     * 冻结状态，0 正常 1 关闭
     */
    @Excel(name = "冻结状态，0 正常 1 关闭", width = 15)
    @ApiModelProperty(value = "冻结状态，0 正常 1 关闭")
    private String status;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

    @ApiModelProperty(value = "冻结描述")
    private String remark;
}
